﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace RedSand.Site.Models
{
    public class MakerInfo
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int MakerID{ get; set; }

        [Display(Name = "Name")]
        [Required]
        public string Name{ get; set; }

        [Display(Name = "Alias")]
        [RegularExpression(@"[a-zA-Z0-9_-]*")]
        [Required]
        public string Alias{ get; set; }

        [Display(Name = "Logo")]
        public string Image{ get; set; }

        [Display(Name = "Status")]
        public byte? Status{ get; set; }
    }
}
